<?php

namespace App\Models\Admin;

use Eloquent as Model;

/**
 * Class TempSmsCode
 * @package App\Models\V1
 * @version April 8, 2017, 1:58 am UTC
 */
class TempSmsCode extends Model
{
    public $table = 'temp_sms_code';

    public $fillable = [
        'mobile_number',
        'sms_code',
        'deadline',
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'mobile_number' => 'string',
        'sms_code'      => 'string',
        'deadline'      => 'timestamp',
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
    ];
}
